package org.rc.model;

import java.io.Serializable;
import javax.persistence.Id;

/**
 * Statistics for the entire app
 * @author dokeeffe
 */
public class Statistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id 
    private Long id;
    private Long numberOfRaces;
    private Long numberOfResults;
    private Integer onlineUsers;

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the numberOfRaces
     */
    public Long getNumberOfRaces() {
        return numberOfRaces;
    }

    /**
     * @param numberOfRaces the numberOfRaces to set
     */
    public void setNumberOfRaces(Long numberOfRaces) {
        this.numberOfRaces = numberOfRaces;
    }

    /**
     * @return the numberOfResults
     */
    public Long getNumberOfResults() {
        return numberOfResults;
    }

    /**
     * @param numberOfResults the numberOfResults to set
     */
    public void setNumberOfResults(Long numberOfResults) {
        this.numberOfResults = numberOfResults;
    }

    /**
     * @return the onlineUsers
     */
    public Integer getOnlineUsers() {
        return onlineUsers;
    }

    /**
     * @param onlineUsers the onlineUsers to set
     */
    public void setOnlineUsers(Integer onlineUsers) {
        this.onlineUsers = onlineUsers;
    }
}
